package com.zadtek.shopmall.bean;
/*
*
* "region_id": "2",
            "parent_id": "1",
            "region_name": "北京",
            "region_type": "1",
            "agency_id": "0",
            "son": [{
* */

import com.contrarywind.interfaces.IPickerViewData;

import java.util.List;

public class CityBean implements IPickerViewData{
    private int region_id,parent_id,region_type,agency_id;
    private String region_name;
    private List<CityBean> son;

    public int getRegion_id() {
        return region_id;
    }

    public void setRegion_id(int region_id) {
        this.region_id = region_id;
    }

    public int getParent_id() {
        return parent_id;
    }

    public void setParent_id(int parent_id) {
        this.parent_id = parent_id;
    }

    public int getRegion_type() {
        return region_type;
    }

    public void setRegion_type(int region_type) {
        this.region_type = region_type;
    }

    public int getAgency_id() {
        return agency_id;
    }

    public void setAgency_id(int agency_id) {
        this.agency_id = agency_id;
    }

    public String getRegion_name() {
        return region_name;
    }

    public void setRegion_name(String region_name) {
        this.region_name = region_name;
    }

    public List<CityBean> getSon() {
        return son;
    }

    public void setSon(List<CityBean> son) {
        this.son = son;
    }

    @Override
    public String getPickerViewText() {
        return region_name;
    }
}
